MailPoet\Automation\Engine\Storage\AutomationStatisticsStorage S

Total Complexity 48
Dependencies 4
Dependents 5
Total lines 334
Lines of code 279
Logical lines of code 109
Comment lines 27
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
getStatsQuery()
A
51 9 24
getAutomationEmailIds()
A
47 8 38
queryEmailStatistics()
A
48 8 33
getEmailRevenueCounts()
S
47 5 38
getEmailSentCounts()
S
50 4 31
getAutomationStatisticsForAutomations()
S
52 3 28
getEmailOpenCounts()
S
52 3 25
getEmailClickCounts()
S
52 3 25
getStatistics()
S
59 2 14
getAutomationStats()
S
59 1 15
__construct()
S
76 1 4
getEmailStatistics()
S
74 1 4